<?php
/* @var $this HistoryController */
/* @var $model History */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'history-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'username'); ?>
		<?php echo $form->textField($model,'username',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'username'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'dates'); ?>
		<?php echo $form->textField($model,'dates',array('size'=>20,'maxlength'=>20)); ?>
		<?php echo $form->error($model,'dates'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'model'); ?>
		<?php echo $form->textField($model,'model',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'model'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'oldconditions'); ?>
		<?php echo $form->textField($model,'oldconditions',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'oldconditions'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'conditions'); ?>
		<?php echo $form->textField($model,'conditions',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'conditions'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'oldcommedit'); ?>
		<?php echo $form->textField($model,'oldcommedit',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'oldcommedit'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'commedit'); ?>
		<?php echo $form->textField($model,'commedit',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'commedit'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'descredit'); ?>
		<?php echo $form->textField($model,'descredit',array('size'=>60,'maxlength'=>300)); ?>
		<?php echo $form->error($model,'descredit'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'oldcommmark'); ?>
		<?php echo $form->textField($model,'oldcommmark',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'oldcommmark'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'commmark'); ?>
		<?php echo $form->textField($model,'commmark',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'commmark'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'descrmark'); ?>
		<?php echo $form->textField($model,'descrmark',array('size'=>60,'maxlength'=>300)); ?>
		<?php echo $form->error($model,'descrmark'); ?>
	</div>
	
	<div class="row">
		<?php echo $form->labelEx($model,'oldcomments'); ?>
		<?php echo $form->textField($model,'oldcomments',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'oldcomments'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'comments'); ?>
		<?php echo $form->textField($model,'comments',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'comments'); ?>
	</div>	
	
	<div class="row">
		<?php echo $form->labelEx($model,'descr'); ?>
		<?php echo $form->textField($model,'descr',array('size'=>60,'maxlength'=>300)); ?>
		<?php echo $form->error($model,'descr'); ?>
	</div>	

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->